//
// Created by wkm on 2023-12-08.
//

#include "pulse.h"

void pulse::prc_pulse() {
    pulse_out = 0;

    while (true) {
        wait();
        wait(DELAY);
        pulse_out = 1;
        wait(ON_DURATION);
        pulse_out = 0;
    }
}